package com.furongji.education.mapper;

import com.furongji.common.domain.vo.CourseViewCountVo;
import com.furongji.education.domain.po.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.furongji.education.domain.vo.CourseFrontVo;
import com.furongji.education.domain.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author furongji
 * @since 2025-05-19
 */
public interface CourseMapper extends BaseMapper<Course> {

    CoursePublishVo getPublishCourseInfo(String id);

    CourseFrontVo getFrontCourseInfo(String courseId);

    Integer courseInsertCount(String date);

}
